net: macb: Prepare for driver-model conversion
authorSimon Glass <[email protected]>
Thu, 5 May 2016 13:28:09 +0000 (07:28 -0600)
committerAndreas Bießmann <[email protected]>
Sun, 12 Jun 2016 21:49:38 +0000 (23:49 +0200)
commitd5555b70e6cdbce4e1395f40c19a504015f93668
tree08cf50fb9d16d9eb1d0096b6d97659311fc4c50a
parent166c409bc42627d9e19517f6ce121c39d0f52b65
net: macb: Prepare for driver-model conversion

Adjust this driver to avoid using struct netdev in functions that driver
model will call. Also refactor the receive function to be compatible with
driver model.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Tested-on: smartweb, corvus, taurus, axm
Tested-by: Heiko Schocher <[email protected]>
Reviewed-by: Joe Hershberger <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Andreas Bießmann <[email protected]>
drivers/net/macb.c